#pragma once
#include "Runtime/BattleFirePrefix.h"
#include "Runtime/Math/Vector.h"
#include "Runtime/Rendering/RenderResource.h"

namespace Alice{
    class PositionBuffer : public VertexBuffer{
    public:
        Vector3f* mVertexData;

        /** The cached vertex data pointer. */
        uint8* mData;

        /** The cached vertex stride. */
        uint32 mStride;

        /** The cached number of vertices. */
        uint32 mVertexCount;
        void InitRHI(CGICommandListBase& inCGICmdList);
        CGIBuffer* CreateRHIBuffer(CGICommandListBase& RHICmdList);
        void BindPositionVertexBuffer(const class VertexFactory* VertexFactory, struct FStaticMeshDataType& Data) const;
    };
}
